﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.Core.Data;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Common
{
    /// <summary>
    /// 短信发放黑名单
    /// </summary>
    public class SendBlackList : GeneralBase<int>
    {
        /// <summary>
        /// 类型 1IP   2电话
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 值
        /// </summary>
        [StringLength(50)]
        public string Value { get; set; }
        /// <summary>
        /// 状态  0无效   1生效
        /// </summary>
        public int State { get; set; }
    }
}
